gtk4.git
5 years agoMerge branch 'wip/baedert/for-master' into 'master'
Matthias Clasen [Tue, 5 Jan 2021 15:20:25 +0000 (15:20 +0000)]
Merge branch 'wip/baedert/for-master' into 'master'

Wip/baedert/for master

See merge request GNOME/gtk!3029

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 5 Jan 2021 14:26:38 +0000 (14:26 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

some docs tweaks

See merge request GNOME/gtk!3036

5 years agodocs: Cosmetics
Matthias Clasen [Sat, 2 Jan 2021 21:34:34 +0000 (16:34 -0500)]
docs: Cosmetics

5 years agodocs: Flesh out Popup layout docs
Matthias Clasen [Tue, 5 Jan 2021 13:20:36 +0000 (08:20 -0500)]
docs: Flesh out Popup layout docs

We have nice illustrations for this, lets use them.

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Tue, 5 Jan 2021 08:08:44 +0000 (08:08 +0000)]
Update Ukrainian translation

5 years agocsstokenizer: Keep a GString for name parsing around
Timm Bäder [Sun, 3 Jan 2021 21:41:02 +0000 (22:41 +0100)]
csstokenizer: Keep a GString for name parsing around

We only every parse one of those at a time, so keep a GString around for
it. This way we don't have to create a new GString every time we parse
an identifier. Doesn't spare us the strdup though.

5 years agocsstokenizer: Add separate init functions for token types
Timm Bäder [Sun, 3 Jan 2021 20:53:20 +0000 (21:53 +0100)]
csstokenizer: Add separate init functions for token types

Using a variadic function is just awkward there. Use different init
functions and use them as appropriate; we already know which one to call
everywhere.

5 years agobuilder: Remove unused typedef
Timm Bäder [Sun, 3 Jan 2021 11:33:25 +0000 (12:33 +0100)]
builder: Remove unused typedef

5 years agobuilder: Remove unused function prototype
Timm Bäder [Sun, 3 Jan 2021 11:27:32 +0000 (12:27 +0100)]
builder: Remove unused function prototype

5 years agobuilderparser: Use GPtrArray for stack
Timm Bäder [Sun, 3 Jan 2021 11:23:01 +0000 (12:23 +0100)]
builderparser: Use GPtrArray for stack

5 years agoMerge branch 'matthiasc/gl-media-stream' into 'master'
Matthias Clasen [Tue, 5 Jan 2021 00:54:37 +0000 (00:54 +0000)]
Merge branch 'matthiasc/gl-media-stream' into 'master'

Use GL in the gstreamer media backend

See merge request GNOME/gtk!3027

5 years agogtk-demo: Use GtkVideo in the fishbowl
Matthias Clasen [Mon, 4 Jan 2021 23:26:29 +0000 (18:26 -0500)]
gtk-demo: Use GtkVideo in the fishbowl

The demo is called 'Video', so we should actually
use a GtkVideo widget. Doing things this way has
the advantage that we get GL support, which wasn't
working with GtkPicture.

5 years agomedia: Only force GL if we're using a GL renderer
Matthias Clasen [Fri, 1 Jan 2021 17:12:35 +0000 (12:12 -0500)]
media: Only force GL if we're using a GL renderer

When we are not using a GL renderer, getting GL textures
is no advantage to us, so don't make gstreamer send its
frames as GL memory in this case.

5 years agomedia: Convince gstreamer to deliver GL memory
Matthias Clasen [Fri, 1 Jan 2021 16:31:49 +0000 (11:31 -0500)]
media: Convince gstreamer to deliver GL memory

Use a glsinkbin to make gstreamer deliver GL memory.

5 years agomedia: Add support for OpenGL to GtkGstMediaFile
Benjamin Otte [Tue, 29 Dec 2020 19:11:51 +0000 (14:11 -0500)]
media: Add support for OpenGL to GtkGstMediaFile

5 years agovideo: Realize the media stream before setting a file
Matthias Clasen [Tue, 29 Dec 2020 20:55:28 +0000 (15:55 -0500)]
video: Realize the media stream before setting a file

This makes it so that we obtain a GL context before
creating the GstSink, so we at least advertise our
ability to handle GL buffer.

Gstreamer still won't send us any.

5 years agoMerge branch 'wip/jimmac/popover-separators' into 'master'
Matthias Clasen [Mon, 4 Jan 2021 18:14:00 +0000 (18:14 +0000)]
Merge branch 'wip/jimmac/popover-separators' into 'master'

Adwaita: increase cotrast of popover separators

Closes #3535

See merge request GNOME/gtk!3033

5 years agoAdwaita: increase contrast of popover separators
Jakub Steiner [Mon, 4 Jan 2021 16:53:40 +0000 (17:53 +0100)]
Adwaita: increase contrast of popover separators

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3535

5 years agoMerge branch 'window-geometry-info' into 'master'
Matthias Clasen [Mon, 4 Jan 2021 13:55:08 +0000 (13:55 +0000)]
Merge branch 'window-geometry-info' into 'master'

gtk/window: remove GtkWindowGeometryInfo from public header file

See merge request GNOME/gtk!3028

5 years agoUpdated Lithuanian translation
Aurimas Černius [Mon, 4 Jan 2021 12:09:40 +0000 (14:09 +0200)]
Updated Lithuanian translation

5 years agoUpdate German translation
Philipp Kiemle [Sun, 3 Jan 2021 13:41:25 +0000 (13:41 +0000)]
Update German translation

5 years agoUpdate German translation
Philipp Kiemle [Sun, 3 Jan 2021 13:40:13 +0000 (13:40 +0000)]
Update German translation

5 years agomessagedialog: Modernize source file
Timm Bäder [Sun, 3 Jan 2021 09:17:18 +0000 (10:17 +0100)]
messagedialog: Modernize source file

Move vfunc implementations above class_init, remove unneeded prototypes,
properly indent everything and remove trailing whitespace

5 years agowidget: Refactor gtk_widget_class_set_template()
Timm Bäder [Sun, 3 Jan 2021 07:45:30 +0000 (08:45 +0100)]
widget: Refactor gtk_widget_class_set_template()

Don't call gbytes_get_data/get_size so often and exit early if the given
bytes is already precompiled.

5 years agowidget: Inline setup_template_child() into only caller
Timm Bäder [Sun, 3 Jan 2021 06:26:44 +0000 (07:26 +0100)]
widget: Inline setup_template_child() into only caller

This is a pretty short and self-contained function.

5 years agoicontheme: Make a parameter const
Timm Bäder [Thu, 31 Dec 2020 11:58:30 +0000 (12:58 +0100)]
icontheme: Make a parameter const

5 years agosettings: Overallocate property_values
Timm Bäder [Thu, 31 Dec 2020 11:48:41 +0000 (12:48 +0100)]
settings: Overallocate property_values

Instead of walking the pspecs twice and checking for the owner_type,
just allocate n_pspecs entries. They are the same value right now
anyway, but even if they aren't it doesn't hurt to have a few extra ones
allocated.

5 years agosettings: Load keyfiles ourselves
Timm Bäder [Thu, 31 Dec 2020 11:40:41 +0000 (12:40 +0100)]
settings: Load keyfiles ourselves

This does not change anything in the case where the .init file does not
exist. We still hit the disk once. Otherwise, we now only hit it once
instead of twice and avoid a potential race-condition.

5 years agowidget: Use gtk_widget_get_native() in get_surface_allocation()
Timm Bäder [Thu, 31 Dec 2020 07:02:10 +0000 (08:02 +0100)]
widget: Use gtk_widget_get_native() in get_surface_allocation()

5 years agogtksettings: Remove unused defines
Timm Bäder [Tue, 29 Dec 2020 14:19:35 +0000 (15:19 +0100)]
gtksettings: Remove unused defines

5 years agorender: Inline function into only caller
Timm Bäder [Sun, 27 Dec 2020 20:35:21 +0000 (21:35 +0100)]
render: Inline function into only caller

5 years agoframe: Remove unnecessary function
Timm Bäder [Sun, 27 Dec 2020 20:14:49 +0000 (21:14 +0100)]
frame: Remove unnecessary function

Just call the vfunc directly in the only place we used to call the old
wrapper

5 years agogesture: Replace tabs
Timm Bäder [Sun, 27 Dec 2020 20:06:51 +0000 (21:06 +0100)]
gesture: Replace tabs

5 years agobox: Replace tabs with spaces
Timm Bäder [Sun, 27 Dec 2020 17:14:57 +0000 (18:14 +0100)]
box: Replace tabs with spaces

5 years agoscrolledwindow: Use g_clear_handle_id
Timm Bäder [Sun, 27 Dec 2020 17:11:29 +0000 (18:11 +0100)]
scrolledwindow: Use g_clear_handle_id

5 years agoviewport: Small cleanup
Timm Bäder [Sun, 27 Dec 2020 17:05:44 +0000 (18:05 +0100)]
viewport: Small cleanup

No need to check for visibility before calling gtk_widget_measure().

5 years agowidget: Move quark_builder_set_id declaration to other GQuarks
Timm Bäder [Sun, 27 Dec 2020 16:11:12 +0000 (17:11 +0100)]
widget: Move quark_builder_set_id declaration to other GQuarks

5 years agowidget: Re-arrange some more functions
Timm Bäder [Sun, 27 Dec 2020 12:23:11 +0000 (13:23 +0100)]
widget: Re-arrange some more functions

5 years agowiget: Fix whitespace issues
Timm Bäder [Sun, 27 Dec 2020 12:10:35 +0000 (13:10 +0100)]
wiget: Fix whitespace issues

Switch from tabs to spaces everywhere consistently and remove all
trailing whitespace.

5 years agowidget: Move a few vfunc implementations above class_init
Timm Bäder [Sun, 27 Dec 2020 11:57:22 +0000 (12:57 +0100)]
widget: Move a few vfunc implementations above class_init

And save us the prototypes at the top of the file this way.

5 years agonevertrigger: Remove unused instance members
Timm Bäder [Sat, 26 Dec 2020 09:04:26 +0000 (10:04 +0100)]
nevertrigger: Remove unused instance members

5 years agoshortcutmanager: Use g_list_store_find()
Timm Bäder [Sat, 26 Dec 2020 08:59:46 +0000 (09:59 +0100)]
shortcutmanager: Use g_list_store_find()

We require glib 2.66 these days, so we can unconditionally use
g_list_store_find().

5 years agogesturelongpress: Remove a useless cast
Timm Bäder [Sat, 26 Dec 2020 08:44:36 +0000 (09:44 +0100)]
gesturelongpress: Remove a useless cast

We already get a GtkGestureLongPress here.

5 years agogesturelongpress: Keep the pspec around
Timm Bäder [Sat, 26 Dec 2020 08:43:08 +0000 (09:43 +0100)]
gesturelongpress: Keep the pspec around

So we can use it to notify(), like we do everywhere else.

5 years agolabel: Remove unused private functions
Timm Bäder [Fri, 25 Dec 2020 11:20:35 +0000 (12:20 +0100)]
label: Remove unused private functions

5 years agolabel: Remove mnemonics_visible_apply_recursively from private header
Timm Bäder [Fri, 25 Dec 2020 11:07:08 +0000 (12:07 +0100)]
label: Remove mnemonics_visible_apply_recursively from private header

This is only used in gtklabel.c

5 years agolabel: Modernize source file
Timm Bäder [Fri, 25 Dec 2020 11:05:28 +0000 (12:05 +0100)]
label: Modernize source file

Try to sort toplevel functions to minimize unnecessary function
prototypes at the beginning of the file, get rid of all tabs and
trailing whitespace.

5 years agogtk4-demo: Remove unused size group
Timm Bäder [Fri, 25 Dec 2020 10:17:03 +0000 (11:17 +0100)]
gtk4-demo: Remove unused size group

5 years agoglcontext-wayland: Whitespace
Timm Bäder [Fri, 25 Dec 2020 09:17:25 +0000 (10:17 +0100)]
glcontext-wayland: Whitespace

5 years agogesturestylus: Only add histroy element if translation succeeded
Timm Bäder [Fri, 25 Dec 2020 09:07:43 +0000 (10:07 +0100)]
gesturestylus: Only add histroy element if translation succeeded

Instead of always doing it and then undoing it if the translation does
not succeed.

5 years agogesturestylus: Retrieve event and controller widget only once
Timm Bäder [Fri, 25 Dec 2020 08:58:04 +0000 (09:58 +0100)]
gesturestylus: Retrieve event and controller widget only once

Make it clear that these are not gonna chance while iterating the loop.

5 years agoglcontext-wayland: Avoid heap-alloacting small arrays...
Timm Bäder [Thu, 24 Dec 2020 08:27:31 +0000 (09:27 +0100)]
glcontext-wayland: Avoid heap-alloacting small arrays...

every frame.

5 years agoglcontext-wayland: Only allocate configs we use
Timm Bäder [Thu, 24 Dec 2020 08:09:35 +0000 (09:09 +0100)]
glcontext-wayland: Only allocate configs we use

We only use the first one, so don't allocate space for more than that.

5 years agoNEWS: Updates
Matthias Clasen [Sun, 3 Jan 2021 01:17:19 +0000 (20:17 -0500)]
NEWS: Updates

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sat, 2 Jan 2021 19:04:26 +0000 (19:04 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

video: Tweak the docs

See merge request GNOME/gtk!3026

5 years agovideo: Tweak the docs
Matthias Clasen [Sat, 2 Jan 2021 16:17:26 +0000 (11:17 -0500)]
video: Tweak the docs

Point out the limitations and use cases of GtkVideo
and mention that GtkPicture can display video just fine.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sat, 2 Jan 2021 15:49:46 +0000 (15:49 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

video: Pause on unset too

See merge request GNOME/gtk!3025

5 years agoUpdate Romanian translation
Florentina Mușat [Sat, 2 Jan 2021 11:21:43 +0000 (11:21 +0000)]
Update Romanian translation

5 years agovideo: Pause on unset too
Matthias Clasen [Sat, 2 Jan 2021 05:06:41 +0000 (00:06 -0500)]
video: Pause on unset too

When new media stream is set on the GtkVideo
widget and we're autoplaying, pause the old one.

Otherwise, the music keeps playing unexpectedly.

5 years agoMerge branch 'wip/chergert/fix-macos-compute-size' into 'master'
Matthias Clasen [Fri, 1 Jan 2021 23:33:01 +0000 (23:33 +0000)]
Merge branch 'wip/chergert/fix-macos-compute-size' into 'master'

macos: fix compute_size and request_layout

Closes #3532

See merge request GNOME/gtk!3023

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 1 Jan 2021 22:48:11 +0000 (22:48 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3506 and #3530

See merge request GNOME/gtk!3024

5 years agoMerge branch 'video-stop' into 'master'
Benjamin Otte [Fri, 1 Jan 2021 21:54:22 +0000 (21:54 +0000)]
Merge branch 'video-stop' into 'master'

video: Stop playing when appropriate

See merge request GNOME/gtk!3022

5 years agovideo: Be consistent about play/pause
Matthias Clasen [Fri, 1 Jan 2021 21:25:54 +0000 (16:25 -0500)]
video: Be consistent about play/pause

Always check that the stream is prepared, and the
widget is mapped, before calling gtk_media_stream_play().

5 years agomacos: implement compute_size and request_layout
Christian Hergert [Fri, 1 Jan 2021 21:11:29 +0000 (13:11 -0800)]
macos: implement compute_size and request_layout

These functions were not implemented when the sizing changes
landed before GTK 4 was released. This fixes an issue with non-
resizeable windows not reacting to layout changes.

Fixes #3532

5 years agomacos: avoid setHasShadow unless shadow changes
Christian Hergert [Fri, 1 Jan 2021 21:09:57 +0000 (13:09 -0800)]
macos: avoid setHasShadow unless shadow changes

5 years agomacos: fix toplevel present function prototype
Christian Hergert [Thu, 31 Dec 2020 19:07:07 +0000 (11:07 -0800)]
macos: fix toplevel present function prototype

No need to return anything here.

5 years agovideo: Stop playing when appropriate
Matthias Clasen [Fri, 1 Jan 2021 20:07:25 +0000 (15:07 -0500)]
video: Stop playing when appropriate

When the widget gets unrealized or hidden, pause
the mediastream. Otherwise, audio might keep playing
unexpectedly.

5 years agocenter layout: Fix handling of expanding center child
Matthias Clasen [Fri, 1 Jan 2021 16:02:57 +0000 (11:02 -0500)]
center layout: Fix handling of expanding center child

We were not taking spacing into account when adjusting
the size of an expanding center child, causing it to slip
under the end child at times.

Fixes: #3506
5 years agoMerge branch 'wip/chergert/fix-macos-window-check' into 'master'
Matthias Clasen [Fri, 1 Jan 2021 15:39:08 +0000 (15:39 +0000)]
Merge branch 'wip/chergert/fix-macos-window-check' into 'master'

macos: ensure GdkMacosWindow in surface discovery

Closes #3533

See merge request GNOME/gtk!3021

5 years agodocs: Flesh out the gtk4-builder-tool man page
Matthias Clasen [Fri, 1 Jan 2021 15:14:01 +0000 (10:14 -0500)]
docs: Flesh out the gtk4-builder-tool man page

Add some details about the --3to4 conversion, and
set expectations.

5 years agoUpdate Ukrainian translation
Yuri Chornoivan [Fri, 1 Jan 2021 14:50:35 +0000 (14:50 +0000)]
Update Ukrainian translation

5 years agodocs: Complete a sentence
Matthias Clasen [Fri, 1 Jan 2021 14:40:40 +0000 (09:40 -0500)]
docs: Complete a sentence

Fixes: #3530
5 years agoMerge branch 'encode-symbolic-debug' into 'master'
Matthias Clasen [Fri, 1 Jan 2021 14:23:08 +0000 (14:23 +0000)]
Merge branch 'encode-symbolic-debug' into 'master'

gtk4-encode-symbolic: Add debug output

See merge request GNOME/gtk!3017

5 years agomacos: ensure GdkMacosWindow in surface discovery
Christian Hergert [Thu, 31 Dec 2020 18:44:19 +0000 (10:44 -0800)]
macos: ensure GdkMacosWindow in surface discovery

We want to ignore windows that are not related to those controlled
by the GDK backend.

Fixes #3533

5 years agoMerge branch 'macos-mojave' into 'master'
Christian Hergert [Thu, 31 Dec 2020 18:13:46 +0000 (18:13 +0000)]
Merge branch 'macos-mojave' into 'master'

macos: do not crash in mojave

See merge request GNOME/gtk!3020

5 years agomacos: do not crash in mojave
Ignacio Casal Quinteiro [Thu, 31 Dec 2020 10:35:04 +0000 (11:35 +0100)]
macos: do not crash in mojave

The localizedName property is not available in Mojave
so just ifdef in that case the code out.

5 years agogtk/window: remove GtkWindowGeometryInfo from public header file
David Lechner [Wed, 30 Dec 2020 07:32:27 +0000 (01:32 -0600)]
gtk/window: remove GtkWindowGeometryInfo from public header file

GtkWindowGeometryInfo is only used by static methods in gtkwindow.c
so it doesn't need to be in the public header file.

5 years agoMerge branch 'revert-224c2674' into 'master'
Matthias Clasen [Wed, 30 Dec 2020 03:34:51 +0000 (03:34 +0000)]
Merge branch 'revert-224c2674' into 'master'

Revert "Merge branch 'gtk_egl_wayland' into 'master'"

See merge request GNOME/gtk!3018

5 years agoRevert "Merge branch 'gtk_egl_wayland' into 'master'"
Matthias Clasen [Wed, 30 Dec 2020 03:32:18 +0000 (03:32 +0000)]
Revert "Merge branch 'gtk_egl_wayland' into 'master'"

This reverts merge request !3011

5 years agoMerge branch 'gtk_egl_wayland' into 'master'
Matthias Clasen [Wed, 30 Dec 2020 03:32:05 +0000 (03:32 +0000)]
Merge branch 'gtk_egl_wayland' into 'master'

Expose gdk_wayland_surface_get_wl_egl_window()

See merge request GNOME/gtk!3011

5 years agogtk4-encode-symbolic: Add debug output
Matthias Clasen [Wed, 30 Dec 2020 02:22:16 +0000 (21:22 -0500)]
gtk4-encode-symbolic: Add debug output

Add a --debug option that makes this tool produce
some debug output that can be helpful in tracking
down why symbolic svgs are broken.

5 years agoMerge branch 'mcatanzaro/#3509' into 'master'
Matthias Clasen [Tue, 29 Dec 2020 17:47:01 +0000 (17:47 +0000)]
Merge branch 'mcatanzaro/#3509' into 'master'

message dialog: use title style only if there is secondary text

Closes #3509

See merge request GNOME/gtk!3015

5 years agoMerge branch 'fix-menu-alignment' into 'master'
Matthias Clasen [Tue, 29 Dec 2020 17:41:49 +0000 (17:41 +0000)]
Merge branch 'fix-menu-alignment' into 'master'

Fix menu item alignment with submenus

See merge request GNOME/gtk!3016

5 years agomessage dialog: use title style only if there is secondary text
Michael Catanzaro [Tue, 29 Dec 2020 17:12:59 +0000 (11:12 -0600)]
message dialog: use title style only if there is secondary text

If there is no secondary text, then the primary text is just a message,
not a title, and should not use title style.

This partially reverts 1e3ec7c1f993ec8cab4c6608b968e78f9028d662. The
message dialog nown looks like it used to in GTK 3. However, it's still
styled only using a style class rather than using pango markup, as in
GTK 3.

Fixes #3509

5 years agoFix menu item alignment with submenus
Matthias Clasen [Tue, 29 Dec 2020 17:10:35 +0000 (12:10 -0500)]
Fix menu item alignment with submenus

We were not aligning model button labels with nesting
submenus with indicators in their containing menu.

This was visible in the application demo of gtk4-demo.

5 years agoMerge branch 'xndcn/fix-shader' into 'master'
Timm Bäder [Tue, 29 Dec 2020 16:58:55 +0000 (16:58 +0000)]
Merge branch 'xndcn/fix-shader' into 'master'

gl: Fix implicit leaking of shader object

See merge request GNOME/gtk!3013

5 years agoMerge branch 'ebassi/issue-3522' into 'master'
Matthias Clasen [Tue, 29 Dec 2020 16:36:09 +0000 (16:36 +0000)]
Merge branch 'ebassi/issue-3522' into 'master'

Fix the Vulkan header check for VK_RESULT_RANGE_SIZE

Closes #3522

See merge request GNOME/gtk!3009

5 years agogl: Fix implicit leaking of shader object
xndcn [Tue, 29 Dec 2020 14:29:37 +0000 (22:29 +0800)]
gl: Fix implicit leaking of shader object

According to OpenGL spec, a shader object will only be flagged
for deletion unless it has been detached; when a program object
is deleted, those shader objects attached to it will be detached
but not deleted unless they have already been flagged for deletion.

So we shall detach a shader object before it is deleted, and delete
it before the program object is deleted best.

5 years agoMerge branch 'wip/chergert/volatile-fixes' into 'master'
Timm Bäder [Tue, 29 Dec 2020 07:49:12 +0000 (07:49 +0000)]
Merge branch 'wip/chergert/volatile-fixes' into 'master'

types: fix various use of volatile in type registration

See merge request GNOME/gtk!2865

5 years agogdk/wayland/surface: Expose gdk_wayland_surface_get_wl_egl_window()
Vivek Kasireddy [Tue, 29 Dec 2020 02:20:04 +0000 (18:20 -0800)]
gdk/wayland/surface: Expose gdk_wayland_surface_get_wl_egl_window()

Some GTK based applications such as Qemu UI create and manage
EGLSurfaces associated with the relevant GdkSurfaces. In order to create
an EGLSurface, there needs to be a way to pass the native window
object to eglCreateWindowSurface(). While running in an X environment,
the native window object can be obtained by calling
gdk_x11_surface_get_xid(). Likewise, the native window object can be
obtained by calling gdk_wayland_surface_get_wl_egl_window() while
running in a Wayland environment. Therefore, this API needs to be
exposed to apps.

Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
5 years agoFix the Vulkan header check for VK_RESULT_RANGE_SIZE
Emmanuele Bassi [Mon, 28 Dec 2020 18:41:18 +0000 (18:41 +0000)]
Fix the Vulkan header check for VK_RESULT_RANGE_SIZE

The VK_RESULT_RANGE_SIZE enumeration value was removed in 1.2.140, not
1.2.142.

Fixes: #3522
5 years agoMerge branch 'gtkmediafile-pixel-aspect-ratio' into 'master'
Benjamin Otte [Mon, 28 Dec 2020 14:54:30 +0000 (14:54 +0000)]
Merge branch 'gtkmediafile-pixel-aspect-ratio' into 'master'

gtkmediafile: Consider pixel-aspect-ratio for rendering video with the correct aspect ratio

Closes #3516

See merge request GNOME/gtk!3007

5 years agoUpdate Basque translation
Asier Sarasua Garmendia [Sun, 27 Dec 2020 17:56:02 +0000 (17:56 +0000)]
Update Basque translation

5 years agogtkmediafile: Consider pixel-aspect-ratio for rendering video with the correct aspect...
Sebastian Dröge [Sun, 27 Dec 2020 16:24:26 +0000 (18:24 +0200)]
gtkmediafile: Consider pixel-aspect-ratio for rendering video with the correct aspect ratio

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3516

5 years agoMerge branch 'wip/jtojnar/trivial-fix-pc-vulcan' into 'master'
Matthias Clasen [Sun, 27 Dec 2020 17:06:52 +0000 (17:06 +0000)]
Merge branch 'wip/jtojnar/trivial-fix-pc-vulcan' into 'master'

build: Fix vulkan reference in pc file

Closes #3517

See merge request GNOME/gtk!3006

5 years agoUpdate Galician translation
Fran Dieguez [Sun, 27 Dec 2020 16:56:56 +0000 (16:56 +0000)]
Update Galician translation

5 years agoUpdate Galician translation
Fran Dieguez [Sun, 27 Dec 2020 16:51:38 +0000 (16:51 +0000)]
Update Galician translation

5 years agoMerge branch 'gtkgstsink-unmap-only-when-done' into 'master'
Benjamin Otte [Sun, 27 Dec 2020 06:17:36 +0000 (06:17 +0000)]
Merge branch 'gtkgstsink-unmap-only-when-done' into 'master'

gtkmediafile: Only unmap the GstVideoFrame in the GBytes destroy notify

See merge request GNOME/gtk!3003

5 years agobuild: Fix vulkan reference in pc file
Jan Tojnar [Sun, 27 Dec 2020 05:42:29 +0000 (06:42 +0100)]
build: Fix vulkan reference in pc file

A mistake in string concatenation caused the vulcan dependency to be omitted.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/3517
5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 27 Dec 2020 05:21:26 +0000 (05:21 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!3004